<table id="dataTable">
    <thead>
    服务站基本信息
    <tr>
        <th>ID</th>
        <th>服务站名称</th>
        <th>服务站地址</th>
        <th>服务站地址备注</th>
    </tr>
    </thead>
    <tbody>
    <tr>
        <td><?php echo $r['id'];?></td>
        <td><?php echo $r['service_name'];?></td>
        <td><?php echo $r['address_id'];?></td>
        <td><?php echo $r['address_text'];?></td>
    </tr>
    </tbody>
</table>
<table id="dataTable">
    <thead>
    负责人基本信息
    <tr>
        <th>姓名</th>
        <th>性别</th>
        <th>出生日期</th>
        <th>民族</th>
        <th>联系方式</th>
        <th>邮箱</th>
        <th>学历</th>
        <th>现居地址</th>
        <th>电脑水平</th>
        <th>身份证号码</th>
    </tr>
    </thead>
    <tbody>
    <tr>
        <td><?php echo $r['real_name'];?></td>
        <td><?php echo $r['sex'];?></td>
        <td><?php echo $r['birth'];?></td>
        <td><?php echo $r['nation'];?></td>
        <td><?php echo $r['tel'];?></td>
        <td><?php echo $r['email'];?></td>
        <td><?php echo $r['academic'];?></td>
        <td><?php echo $r['address'];?></td>
        <td><?php echo $r['computer_skill'];?></td>
        <td><?php echo $r['idnum'];?></td>
    </tr>
    </tbody>
</table>
<table id="dataTable">
    <thead>
    图片信息
    <tr>
        <th>门面照片</th>
        <th>身份证照片</th>
    </tr>
    </thead>
    <tbody>
    <tr>
        <td><img width="150" src="<?php if(is_array($r['facade_pic'])){foreach($r['facade_pic'] as $v){ echo $v['url'];?><?php }?><?php }else echo $r['facade_pic']?>" alt=""/></td>
        <td><img width="150" src="<?php if(is_array($r['idnum_pic'])){foreach($r['idnum_pic'] as $v){ echo $v['url'];?><?php }?><?php }else echo $r['idnum_pic']?>" alt=""/></td>
    </tr>
    </tbody>
</table>